//function changeHeight(){
//    var ifm=document.getElementById("content");
//    ifm.height=document.documentElement.clientHeight;
//}
var ifm=document.getElementById("content");
ifm.height=document.documentElement.clientHeight+500;
window.onresize=function(){
    changeHeight();
};
//菜单切换
$('#first1 li').click(function () {
    $(this).addClass("sl").siblings().removeClass("sl");
    var src = $(this).attr('src');
    $('#content').attr('src', src);
});

//预览窗口关闭
$('#preview').click(function () {
    $(this).hide();
});


